import computerForm from "@/components/computerForm/index.vue";
import topNotification from "@/components/topNotification/index.vue";
import commandForm from "@/components/commandForm/index.vue";
import urlIcon from "@/components/urlIcon/index.vue";
import QRCodeCreate from "@/components/QRCodeCreate/index.vue";
import tipPopup from "@/components/tipPopup/index.vue";
import uploadFiles from "@/components/uploadFiles/index.vue";

const allGlobalComponent = {
  computerForm,
  topNotification,
  commandForm,
  urlIcon,
  QRCodeCreate,
  tipPopup,
  uploadFiles,
};

export default {
  install(app) {
    for (let key in allGlobalComponent) {
      app.component(key, allGlobalComponent[key]);
    }
  },
};
